package com.yingjie.yingjieapi.openFeign;

import com.yingjie.commonbase.commons.ReturnObject;
import com.yingjie.commonbase.model.Couples;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "yingjie-gateway", contextId = "api-user")
public interface CouplesFeign {
    @GetMapping("/yingjie-user/couple/feign/getCouplesInfo/{userId}")
    public ReturnObject<Couples> getCouplesInfo(@PathVariable("userId") Integer userId);

}
